<template>

	<view class="showDataList">


		<view class="getNum">
			<view class="fsNum">
				<text>{{activityDetailInfo.newFans}}</text>
				<text>新增分享</text>

			</view>
			<view class="dzNum">
				<text>{{activityDetailInfo.numberOfLikes}}</text>
				<text>点赞次数</text>

			</view>
			<view class="plNum">
				<text>{{activityDetailInfo.numberOfComments}}</text>
				<text>评论次数</text>

			</view>
			<view class="bfNum">
				<text>{{activityDetailInfo.timesOfPlay}}</text>
				<text>播放次数</text>

			</view>
		</view>


	</view>

</template>

<script>
	export default {
		name: "showDataNum",
		props:{
			activityDetailInfo:{
				type:Object,
				default:function() {
					return {};
				}
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="less">
	// flex布局的复用
	.flex() {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	// 活动预览与 用户数据 字体复用

	.getnum() {
		width: 168rpx;
		height: 90rpx;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		color: #fff;
		font-size: 26rpx;
	}

	.showDataList {

		display: flex;
		align-items: center;
		justify-content: space-between;

		border-radius: 10rpx;
		background: #6568F6;
		width: 710rpx;
		height: 168rpx;

		.getNum {
			position: relative;
			display: flex;
			text-align: center;
			justify-content: space-between;

			.fsNum {
				&::after {
					content: "";
					display: block;
					font-size: 0;
					height: 70rpx;


					position: absolute;
					left: 167rpx;
					top: 15rpx;
					border: 2rpx solid #787BFF
				}

				.getnum();
			}

			.bfNum {
				&::after {
					content: "";
					display: block;
					font-size: 0;
					height: 70rpx;


					position: absolute;
					left: 335rpx;
					top: 15rpx;
					border: 2rpx solid #787BFF
				}

				.getnum();


			}

			.dzNum {

				.getnum();

				&::after {
					content: "";
					display: block;
					font-size: 0;
					height: 70rpx;

					position: absolute;
					left: 500rpx;
					top: 15rpx;
					border: 2rpx solid #787BFF
				}
			}

			.plNum {
				.getnum();

			}
		}


	}
</style>